﻿using Coldairarrow.Entity.Goods;
using Coldairarrow.Entity.Purchasing;
using Coldairarrow.Entity.SourceMaterial;
using Coldairarrow.IBusiness;
using Coldairarrow.IBusiness.Purchasing;
using Coldairarrow.IBusiness.SourceMaterial;
using Coldairarrow.Util;
using EFCore.Sharding;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Coldairarrow.Business.SourceMaterial
{
    public class BTB_MaterialBusiness : BaseBusiness<Material>, IBTB_MaterialBusiness, ITransientDependency
    {
        public BTB_MaterialBusiness(IDbAccessor db)
           : base(db)
        {
        }
        public Material GetData(string id)
        {
            var tModel = GetEntity(id);
            return tModel;
        }
    }
}
